import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.tsx'
import '@ant-design/v5-patch-for-react-19';

import { create } from 'zustand'
const useBearStore = create((set) => ({
  bears: 0,
  increasePopulation: () => set((state:any) => ({ bears: state.bears + 1 })),
  removeAllBears: () => set({ bears: 0 }),
}))
createRoot(document.getElementById('root')!).render(
    <App />
)
